package com.example.factroy;

/**
 * ClassName:GunFactory
 * Package:com.example.factroy
 * Description:
 *
 * @Author:ZhangXin
 * @Create:2023/5/8-20:52
 * @Version:v1.0
 */
//具体工厂模式
public class GunFactory extends WeaponFactory{
    @Override
    public Weapon get() {
        return new Gun();
    }
}
